package com.baitiaojun.video.service;

import com.baitiaojun.api.domain.video.VideoComment;
import com.baitiaojun.api.exception.ConditionException;
import com.baitiaojun.api.vo.PageInfo;

import java.util.List;
import java.util.Set;

/**
 * @类名 VideoCommentService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/26 20:59
 * @版本 1.0
 */
public interface VideoParentCommentService {

    Long addParentVideoComment(VideoComment videoComment, Long userId) throws ConditionException;

    PageInfo getPageVideoCommentList(Integer pageNo, Integer pageSize, Long videoId) throws Exception;

    void removeVideoComment(Long id, Long userId) throws ConditionException;

    List<VideoComment> batchVideoCommentCount(Set<Long> videoIds);

    Integer getVideoCommentCount(Long videoId);

    Object getAppendComments(Long commentId);
}
